﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Corvus.Workflow.Tasks
{
    public class EntityReferenceUpdater<TAggregateRoot> : ISavingTask<TAggregateRoot>
        where TAggregateRoot : IAggregateRoot
    {

        public EventHandler<SavingEventArgs<TAggregateRoot>> OnSaving(object sender, SavingEventArgs<TAggregateRoot> e)
        {
            //walk object tree and get a list of all IAggregrateRoot references and assign to References Property
            throw new NotImplementedException();
        }

    }
}
